package com.gljx.web.dao;

import java.util.List;
import java.util.Map;

import com.gljx.web.Entity.OwnCarTrainEntry;
import com.gljx.web.Entity.JournalEntry.ExaminationRoomIncome;
import org.springframework.stereotype.Component;

@Component
public interface OwnCarTrainEntryMapper {
    int deleteByPrimaryKey(String fid);

    int insert(OwnCarTrainEntry record);

    int insertSelective(OwnCarTrainEntry record);

    OwnCarTrainEntry selectByPrimaryKey(String fid);

    int updateByPrimaryKeySelective(OwnCarTrainEntry record);

    int updateByPrimaryKey(OwnCarTrainEntry record);

    int deleteByFparentId(String fid);

    int insertOwnCarTrainEntry(List<OwnCarTrainEntry> ownCarTrainEntrys);

    int deleteByArray(String[] id);

    List<ExaminationRoomIncome> selectExaminationRoomIncome(Map<String, Object> map);

    List<OwnCarTrainEntry> selectOwnCarTrainByInfo(Map<String, String> map);
}